﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace WorkOne.Domain.Model
{
    /// <summary>
    /// 订单下的商品信息
    /// </summary>
    [Table("OrderGoods")]
    public class OrderGoods
    {
        [Key]
        public int OGId { get; set; }

        [Required]
        public int OrderId { get; set; }

        [Required]
        public int GId { get; set; }

        [Required]
        public int BuyCount { get; set; }

    }
}